﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MvcEditlayoutDemo.Template
{
    /// <summary>
    /// 字段的定义实现
    /// </summary>
    public class FieldTemplate
    {
        #region FieldName
        private string fieldName;

        public string FieldName
        {
            get { return fieldName; }
            set { fieldName = value; }
        }
        #endregion

        #region FieldCaption
        private string fieldCaption;

        public string FieldCaption
        {
            get { return fieldCaption; }
            set { fieldCaption = value; }
        }
        #endregion

        #region FieldType
        private FieldTypes fieldType;

        public FieldTypes FieldType
        {
            get { return fieldType; }
            set { fieldType = value; }
        }
        #endregion

        #region FieldFormate
        private string fieldFormate;

        public string FieldFormate
        {
            get { return fieldFormate; }
            set { fieldFormate = value; }
        }
        #endregion

        #region ItemsSource
        private string itemsSource;

        public string ItemsSource
        {
            get { return itemsSource; }
            set { itemsSource = value; }
        }
        #endregion
        
        #region FieldValue
        private object fieldValue;

        public object FieldValue
        {
            get { return fieldValue; }
            set { fieldValue = value; }
        }
        #endregion


    }
}